const db = require("../db/index");
const I_login_api = (req, res) => {
  const sql = `select * from vant_name`;
  db.query(sql, (error, result) => {
    if (error) return;
    const data = result[0];
    res.send({
      status: 200,
      msg: "success",
      data: data,
    });
  });
};

module.exports = {
  I_login_api,
};
